<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><{if $title}><{$title}> - <{$config.company}><{else}><{$config.title}><{/if}><{$config.company}></title>
<meta name="description" content="<{$config.description}>">
<meta name="keywords" content="<{$config.keyword}>">
<link href="<{$config.weburl}>/templates/default/user_admin.css" rel="stylesheet" type="text/css" />
<script src="<{$config.weburl}>/script/jquery-1.4.4.min.js" type=text/javascript></script>
<script language="javascript">
var searchTxt = ' 搜索商品！';
var SEARCHVALUE = '请输入分类属性名称';
var weburl="<{$config.weburl}>";
function searchFocus(e){
	if(e.value == searchTxt){
		e.value='';
		$('#keyword').css("color","");
	}
}
function searchBlur(e){
	if(e.value == ''){
		e.value=searchTxt;
		$('#keyword').css("color","#999999");
	}
}
</script>
</head>
<div id="shortcut">
    <div class="w">
        <div class="fl">
            <script src="<{$config.weburl}>/login_statu.php"></script>
      		<a href="<{$config.weburl}>/"><{$lang.homepage}></a>
        </div>
        <div class="fr">
            <a href="<{$config.weburl}>/main.php?cg_u_type=1">进入买家中心</a>
            <a href="<{$config.weburl}>/main.php?m=sns&s=admin_share_product">我的收藏</a>
            <a href="<{$config.weburl}>/main.php?m=message&s=admin_message_list_inbox">站内消息</a>
        </div>
    </div>
</div>
<div class="header">
    <h1>
    	<a href="<{$config.weburl}>/main.php" title="<{$config.company}>">
        <img title="<{$config.company}>" alt="<{$config.company}>" src="<{if $config.logo}><{$config.logo}><{else}><{$config.weburl}>/image/default/logo.gif<{/if}>"  />
        </a>
        <i><{$lang.seller_center}></i>
	</h1>
    <div class="search">
        <div class="i-search ld">
        <form method="get" class="form" action="<{$config.weburl}>/">
            <input id="m" name="m" type="hidden" value="product" />
            <input id="s" name="s" type="hidden" value="list" />
            <input type="text" autocomplete="off" value="<{$smarty.get.key}>" id="key" name="key" class="text">
            <input type="submit" class="search_button" value="搜索">
        </form>
        </div>
        <div class="hotwords">
            <strong>热门搜索：</strong>
            <{insert name="label" type="searchword" temp="search_word" limit=7}>
        </div>
    </div>
</div>

<div class="layout">
    <div class="flow-chart"></div>
    <div class="search_com">
        <span class="icon"></span>
        <span class="txt">分类搜索：<input type="text" class="text" maxlength="22" id="SEARCHVALUE"></span>
        <a id="searchBtn" href="JavaScript:void(0);" class="btn_search">搜索</a>
    </div>
	<div class="search_sort">
        <div class="search_title">
            <div class="txt">您常用的商品分类：</div>
            <select onchange="getid(this);" >
                <option value=""><{$lang.selec_com_cat}></option>
                <{foreach item=list key=num from=$get_user_common_cat}>
                <option value="<{$num}>"><{$list}></option>
                <{/foreach}>
            </select>
        </div>
        <div class="dataLoading" id="dataLoading">
        	<div class="data_loading">加载中...</div>
        </div>
        <div class="search_result"  style="display: none;">
            <div class="back_to_sort">
            	<a genre="return_choose_sort" href="JavaScript:void(0);">&lt;&lt;返回商品分类选择</a>
            </div>
            <div style="display:none;" id="searchNone" class="no_result">
                <p>没有找到相关的商品分类。</p>
                <p><a genre="return_choose_sort" href="JavaScript:void(0);">返回商品分类选择</a></p>
            </div>
            <div style=" display: block;" id="searchSome" class="has_result">
                <div id="searchEnd"></div>
                <div id="searchList" class="result_list">
                <ul></ul>
            	</div>
            </div>    
        </div>
        <div class="sort_block">
        	<div class="sort_list">
                <div class="wp_category_list">
                    <div class="category_list" id="class_div_1">
                        <ul>
                            <{foreach item=list from=$cat}>
                            <li id="<{$list.catid}>|1" onclick="district(this);" class=""><a href="javascript:void(0)" class=""><span class="has_leaf"><{$list.cat}></span></a></li>
                            <{/foreach}>
                        </ul>
                    </div>
                </div>
            </div>
        	<div class="sort_list">
                <div class="wp_category_list blank">
                	<div class="category_list" id="class_div_2">
                    	<ul></ul>
                    </div>
                </div>
            </div>
        	<div class="sort_list">
                <div class="wp_category_list blank">
                    <div class="category_list" id="class_div_3">
                    	<ul></ul>
                    </div>
                </div>
            </div>
        	<div class="sort_list">
                <div class="wp_category_list blank">
                	<div class="category_list" id="class_div_4">
                   		<ul></ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
	<div style="display: block; clear:both;" class="tips_choice">
        <span class="tips_zt"></span>
        <dl class="hover_tips_cont">
            <dt id="commodityspan">
                <span style="color:#F00;">请选择商品类别</span>
            </dt>
            <dt class="current_sort" style="display: none;" id="commoditydt">您当前选择的商品类别是：</dt>
            <dd id="commoditydd"></dd>
        </dl>
    </div>
    <div class="btn_confirm">
    <form method="get">
        <input type="hidden" name="m" value="product" />
        <input type="hidden" name="s" value="admin_product" />
        <input type="hidden" id="class_id" name="category_id" value="">
        <input type="hidden" id="catid" name="catid" value="" />
        <input type="hidden" id="tcatid" name="tcatid" value="" />
        <input type="hidden" id="scatid" name="scatid" value="" />
        <input type="hidden" id="sscatid" name="sscatid" value="" />
		<input type="hidden" id="edit" name="edit" value="<{$smarty.get.editid}>" />
		<input type="submit" value="下一步" id="button_next_step" disabled="">
	</form>
    </div>
</div>

<div id="footer">
  <p><{$web_con}></p>
  <{$bt}><br>
</div>
<script type="text/javascript" charset="utf-8" src="<{$config.weburl}>/script/product_add_step.js" ></script>
</body>
</html>


